package com.lagou.edu.pojo;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Entity
@Table(name="lagou_user")
public class User {
    @Id
    private Long id; // 主键

    private String email;

    private String password;
}